<template>
  <div class="wscn-http404-container">
    <div class="wscn-http404">
      <div class="pic-404">
        <img class="pic-404__parent" src="@/framework/assets/404_images/404.png" alt="404">
      </div>
      <div class="bullshit">
        <div class="bullshit__headline">404 Error</div>
        <div>
          <div class="bullshit__info">非常抱歉，网络开小差了</div>
          <div style="text-align:center">
            <el-link type="primary" class="bullshit__return-home" @click="$router.go(-1)">返回首页</el-link>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>

export default {
  name: 'Page404'
}
</script>

<style lang="scss" scoped>
.wscn-http404-container{
  transform: translate(-50%,-50%);
  position: absolute;
  top: 40%;
  left: 50%;
}
.wscn-http404 {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 1200px;
  overflow: hidden;
  .pic-404 {
    margin: 0 auto;
    position: relative;
    float: left;
    width: 774px;
    overflow: hidden;
    &__parent {
      width: 100%;
    }
  }
  .bullshit {
    margin:0 auto;
    position: relative;
    float: left;
    padding: 35px 0;
    overflow: hidden;
    &__headline {
      font-size: 50px;
      font-family: HarmonyOS Sans SC-Bold, HarmonyOS Sans SC;
      color: #C0C4CC;
      line-height: 59px;
      font-weight: bold;
      animation-name: slideUp;
      animation-duration: 0.5s;
      animation-delay: 0.1s;
      animation-fill-mode: forwards;
    }
    &__info {
      text-align: center;
      font-size: 16px;
      font-family: HarmonyOS Sans SC-Regular, HarmonyOS Sans SC;
      font-weight: 400;
      color: #909399;
      line-height: 24px;
      margin-bottom: 24px;
      animation-name: slideUp;
      animation-duration: 0.5s;
      animation-delay: 0.2s;
      animation-fill-mode: forwards;
    }
    &__return-home {
      font-size: 16px;
      font-family: HarmonyOS Sans SC-Regular, HarmonyOS Sans SC;
      font-weight: 400;
      color: #3461FF;
      line-height: 24px;
      border-radius: 100px;
      opacity: 0;
      cursor: pointer;
      animation-name: slideUp;
      animation-duration: 0.5s;
      animation-delay: 0.3s;
      animation-fill-mode: forwards;
    }
    @keyframes slideUp {
      0% {
        transform: translateY(60px);
        opacity: 0;
      }
      100% {
        transform: translateY(0);
        opacity: 1;
      }
    }
  }
}
</style>
